#define _CRT_SECURE_NO_WARNINGS 1
class Solution {
public:
	class A
	{
	public:
		A()
		{
			sum += i;
			i += 1;
		}
	};

	int Sum_Solution(int n)
	{
		A arr[n];
		return sum;

	}
private:
	static int sum;
	static int i;
};
int Solution::sum = 0;
int Solution::i = 1;